home *** CD-ROM | disk | FTP | other *** search
/ Hyper Animation Series: Viper (Limited Edition) / Hyper Animation Series: VIPER (Limited Edition).iso / pc / SYSTEM / class / PlayerShip.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-08-04  |  555 b   |  19 lines

  1. public class PlayerShip extends StgObject {
  2.    protected Enemy enemy;
  3.    protected Item item;
  4.  
  5.    public PlayerShip(StgFrame var1, int var2) {
  6.       super(var1, var2);
  7.    }
  8.  
  9.    public boolean action() {
  10.       boolean var1 = true;
  11.  
  12.       for(PlayerShipIndex var2 = (PlayerShipIndex)super.Top.getNext(); var2 != null; var2 = (PlayerShipIndex)((LinkListIndex)var2).getNext()) {
  13.          var2.action();
  14.       }
  15.  
  16.       return var1;
  17.    }
  18. }
  19.